package top.littlejiang.onlinexam.mapper;

import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.core.toolkit.Constants;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import org.apache.ibatis.annotations.Param;
import top.littlejiang.onlinexam.common.base.BaseDao;
import top.littlejiang.onlinexam.entity.OlexamSysLog;

/**
 * <p>
 * 系统日志 Mapper 接口
 * </p>
 *
 * @author chen
 * @since 2020-12-26
 */
public interface OlexamSysLogMapper extends BaseDao<OlexamSysLog> {

    /**
     * 分页查询
     * @param p
     * @param wrapper
     * @return
     */
    IPage<OlexamSysLog> getSyslogList(Page<OlexamSysLog> p, @Param(Constants.WRAPPER) QueryWrapper<OlexamSysLog> wrapper);
}
